<!DOCTYPE html>
<html>

	<head>
		<meta charset="UTF-8">
		<title></title>
	</head>

	<body>
		<script>
			var arr = [];
			for(var i = 0; i < 7; i++) {
				arr[i] = [];
			}
			for(var j = 0; j < 700; j++) {
				var t = Math.floor(Math.random() * 7);
				console.log(t);
				arr[t].push(t);

			}
			console.log("1:" + arr[0].length);
			console.log("2:" + arr[1].length);
			console.log("3:" + arr[2].length);
			console.log("4:" + arr[3].length);
			console.log("5:" + arr[4].length);
			console.log("6:" + arr[5].length);
			console.log("7:" + arr[6].length);
		</script>

	</body>

</html>